import { createSlice } from '@reduxjs/toolkit'

const initialState = {
  user: {
  }
}

export const counterSlice = createSlice({
  name: 'User',
  initialState,
  reducers: {
  }
})
// 每个 case reducer 函数会生成对应的 Action creators
export const { increment, decrement, incrementByAmount } = counterSlice.actions

export default counterSlice.reducer